<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  User: 19079,Date: 2020/12/17,time: 17:52
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>Title</title>
    <base href="<%=request.getContextPath()%>/">
    <link rel="stylesheet" href="webjars/layui/2.5.5/css/layui.css">

</head>
<body style="background: url(/img/bg.png) no-repeat;background-size: 100%;">

<div class="layui-container" style="width: 800px;">
    <div class="layui-card" style="width: 50%;margin: 150px auto; background-color: #00a7d0">

        <div class="layui-card-header"style="text-align: center">电力巡检管理系统</div>
        <div class="layui-card-body">
            <form method="post" action="/login" class="layui-form" lay-filter="login">
                <div class="layui-form-item">
                    <label class="layui-form-label">登录账户：</label>
                    <div class="layui-input-inline">
                        <input type="text" name="usercode" class="layui-input"/>
                    </div>
                    <c:if test="${LoginError != null}">
                        <div class="layui-form-mid layui-word-aux">账号或密码错误</div>
                    </c:if>
                </div>
                <div class="layui-form-item ">
                    <label class="layui-form-label">登录密码：</label>
                    <div class="layui-input-inline">
                        <input type="text" name="password" class="layui-input"/>
                    </div>
                </div>
                <div class="layui-form-item " >
                    <div class="layui-input-inline">
                        <button class="layui-btn">登&emsp;录</button>
                    </div>

                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>
